import { HTTP } from '../utils/http.js'

class Impower extends HTTP {

    // 邮箱登录
    email_login(objs) {
        return this.request({
        url: '/login/email_login',
        method: 'POST',
        header: {
        'content-type': 'application/x-www-form-urlencoded'
        },
        data: objs
        })
    }
    // 发送验证码
    sendCode(objs) {
        return this.request({
        url: '/login/sendCode',
        method: 'POST',
        header: {
        'content-type': 'application/x-www-form-urlencoded'
        },
        data: objs
        })
    }
    

}

export { Impower }